pkgname=sockperf
pkgver=git
pkgrel=1
url="https://gitee.com/ssri-mirrors/sockperf"
arch=('x86_64' 'i386')
license=('GPL')
source=("https://gitee.com/ssri-mirrors/sockperf.git")
md5sums=('SKIP')

build() {
	cd "$srcdir/$pkgname"
	git checkout -q -b build origin/sockperf_v2
	./autogen.sh
	./configure
	make
}

package() {
	mkdir -p "${pkgdir}/lkp/benchmarks"
	cp -af "$srcdir/$pkgname" "${pkgdir}/lkp/benchmarks"
}
